<!DOCTYPE>
<html ng-app="follower">
    <head>
        <meta charset="utf-8"/>
        <link rel="stylesheet" type="text/css" href="../css/lib/bootstrap.min.css" />
        <link rel="stylesheet" type="text/css" href="../css/lib/bootstrap-responsive.min.css"/>
        <link rel="stylesheet" type="text/css" href="../css/app/bootstrap-consistency.css"/>
        <link rel="stylesheet" type="text/css" href="../css/app/follower.css"/>
    </head>
    <body>
        <div ng-controller="followerCtrl" class="follow-board normal-font">
            <div class="list float-left border">
                <header class="bdb header">Risk entry list</header>
                <div>
                    <ul>
                        <li ng-click="getDetail(detail.entry)" ng-repeat="detail in details">{{detail.entry}}</li>
                    </ul>
                </div>
            </div>
            <div class="content float-right border">
                <div class="input-row">
                    <span>Risk entry:</span><input ng-model="detail.entry" type="text" class="form-control input" readonly/>
                </div>
                <div class="input-row">
                    <span>Description:</span><textarea ng-model="detail.description" class="form-control input" readonly></textarea>
                </div>
                <div class="input-row">
                    <span>Possibility:</span><input ng-model="detail.posibility" type="text" class="form-control input" readonly>
                </div>
                <div class="input-row">
                    <span>Influence:</span><input ng-model="detail.influence" type="text" class="form-control input" readonly/>
                </div>
                <div class="input-row">
                    <span>Submitter:</span><input ng-model="detail.submitter" type="text" class="form-control input" readonly/>
                </div>
                <div class="input-row">
                    <span>Follower:</span><input ng-model="detail.follower" type="text" class="form-control input" readonly/>
                </div>
                <div class="input-row">
                    <span>Response:</span><textarea ng-model="response" class="form-control input"></textarea>
                </div>
                <footer>
                    <button ng-click="submit()" class="btn btn-primary float-right">Submit</button>
                </footer>
            </div>
        </div>
        <script type="text/javascript" src="../js/lib/jquery.min.js"></script>
        <script type="text/javascript" src="../js/lib/bootstrap.min.js"></script>
        <script type="text/javascript" src="../js/lib/angular.min.js"></script>
        <script type="text/javascript" src="../js/lib/angular-resource.min.js"></script>
        <script type="text/javascript" src="../js/app/api.js"></script>
        <script type="text/javascript" src="../js/app/data.js"></script>
        <script type="text/javascript" src="../js/app/follower.js"></script>
        
    </body>
</html>
